package sgi.message;
import java.util.List;

import sgi.details_new.ComplaintDetails;

/** getting rows of complaint table if the complaint still pending for answer */
@SuppressWarnings("serial")
public class MessageGetComplaint extends Message {
	private List<ComplaintDetails> complaints;
	
	public MessageGetComplaint() {
		super("select *  from complaint where pending='0'");		
	}

	public List<ComplaintDetails> getComplaints() {
		return complaints;
	}

	public void setComplaints(List<ComplaintDetails> complaints) {
		this.complaints = complaints;
	}

}
